<%-- 
    Document   : cadastro_membroExterno_confirmacao
    Created on : Sep 5, 2014, 8:20:50 AM
    Author     : gabrielbmoro
--%>
<%
    if (session.getAttribute("idUser") == null) {
        response.sendRedirect("login_nao_permitido.html");
    }
%>
<%@page import="modelo.Membro_Externo"%>
<%@page import="java.util.ArrayList"%>
<%@page import="controle.RestauraDados"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">

        <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
        Remove this if you use the .htaccess -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <title>Siskepler</title>
        <meta name="description" content="">
        <meta name="author" content="Gabriel Bronzatti Moro">
        <meta name="viewport" content="width=device-width; initial-scale=1.0">

        <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
        <link rel="stylesheet" type="text/css" href="library/css/bootstrap.css">

    </head>

    <body>
        <div class="container-fluid">
            <div class="row">
                <div class="span9">
                    <div class="cabecalho">
                        <h3>SisKepler- Sistema Gerenciador de Tcc</h3>
                        <h5>Universidade Federal do Pampa</h5>
                    </div>

                    <div class="row">
                        <div class="span9">	
                            <ul class="nav nav-pills">
                                <li class="active"><a href="tela_inicial_membroexterno.jsp">Perfil</a></li>
                                <li><a href="membroexterno_bancas.jsp">Bancas</a></li>
                                <li><a href="encerrarSessao.jsp">Sair</a></li>
                            </ul>
                            <div class="row">
                                <div class="span9">
                                    <legend>Perfil de Usuário</legend>
                                    <%
                                        String nome = String.valueOf(session.getAttribute("nomeUser"));
                                        String email = String.valueOf(session.getAttribute("emailUser"));
                                        String universidade = String.valueOf(session.getAttribute("universidadeUser"));

                                        out.println("<form action=\"/SisKepler_Gabriel/TrataEdicaoMembroExterno\" method=\"POST\">");
                                        out.println("<label for=\"txtNome\">Nome: </label><br />");
                                        out.println("<input type=\"text\" readOnly=\"true\" id=\"txtNome\" name=\"nome\" value=\"" + nome + "\"/><br />");
                                        out.println("<label for=\"txtEmail\">Email: </label><br />");
                                        out.println("<input type=\"email\" required id=\"txtEmail\" name=\"email\" value=\"" + email + "\" /><br />");
                                        out.println("<label for=\"txtUniversidade\">Universidade: </label><br />");
                                        out.println("<input type=\"text\" required id=\"txtUniversidade\" name=\"universidade\" value=\"" + universidade + "\" /><br />");
                                        out.println("<input type=\"submit\" class=\"btn-primary\" value=\"Salvar\" />");
                                    %>
                                </div><!--fecha9!-->
                            </div><!--fechaRow!-->
                        </div><!--fecha9!-->
                    </div><!--fechaRow!-->
                    <div class="row">
                        <div class="span9">
                            <footer style="text-align: center">
                                <div class="rodape">
                                    <strong>&copy; Gabriel Bronzatti Moro</strong>- Todos os direitos reservados
                                </div>                            </footer>
                        </div><!--fecha9!-->
                    </div><!--fechaRow!-->
                </div><!--fechaContainer!-->
                </body>
                </html>